package cn.itsource.service;

import cn.itsource.domain.Param;
import cn.itsource.query.Query;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface ParamService {

    public List<Param> findAll();

    public Param findOne(Long id);

    public void add(Param param);

    public void update(Param param);

    public void delete(Long id);

    //分页+模糊查询
    PageInfo<Param> pageQuery(Query query);

    //批量删除
    void patchdel(Long[] ids);


    //侧边栏展示数据
    Map<String, String> getParams();
}
